<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>测试数据库连接</title>
</head>
<body>
<table border="1">
    <thead>
    <tr>
        <td>id</td>
        <td>姓名</td>
        <td>年龄</td>
        <td>性别</td>
        <td>年纪</td>
    </tr>
    </thead>
    <tbody>
    {% for route in route_querySet %}
        <tr>
            <td>{{ route.id }}</td>
            <td>{{ route.route_name }}</td>
            <td>{{ route.release_time }}</td>
            <td>{{ route.state }}</td>
        </tr>
    {% endfor %}
    </tbody>
</table>
</body>
</html>